﻿using System;
using System.Collections.Generic;
using System.Text;

namespace He.Common
{
    public class SysKeys
    {
        /// <summary>
        /// 数据库名
        /// </summary>
        public const string DATABASE_NAME = "site.ascx";
        /// <summary>
        /// 表前缀
        /// </summary>
        public const string TABLE_PREFIX = "he_";

        /// <summary>
        /// 管理员登陆页面
        /// </summary>
        public const string ADMIN_LOGIN_PAGE = "manage/default.aspx";

        /// <summary>
        /// 微信配置文件路径
        /// </summary>
        public const string WEIXIN_CONFIG_PATH = "~/config/weixin.config";

        /// <summary>
        /// 后台列表每页显示数
        /// </summary>
        public const int MANAGE_PAGE_SIZE = 12;

        /// <summary>
        /// 栏目缓存前缀
        /// </summary>
        public const string CHANNEL_CACHE_PREFIX = "channel_";

        /// <summary>
        /// 验证码SESSION名
        /// </summary>
        public const string VERIFY_SESSION = "VerifyCode";

        /// <summary>
        /// 上次浏览的列表页Cookie名
        /// </summary>
        public const string LAST_LIST_URL_COOKIE_NAME = "LastListUrl";

        /// <summary>
        /// Bing翻译AccessToken的Cookie名
        /// </summary>
        public const string BING_ACCESS_TOKEN_COOKIE_NAME = "BingAccessToken";

        /// <summary>
        /// 微信网页授权登录AccessToken的Cookie名
        /// </summary>
        public const string WX_OAUTH_ACCESS_TOKEN_COOKIE_NAME = "WxOauthAccessToken";

        /// <summary>
        /// 微信网页授权登录RefreshToken的Cookie名
        /// </summary>
        public const string WX_OAUTH_REFRESH_TOKEN_COOKIE_NAME = "WxOauthRefreshToken";

        /// <summary>
        /// 微信网页授权登录用户OpenId
        /// </summary>
        public const string WX_OAUTH_OPENID_COOKIE_NAME = "WxOauthOpenId";

        /// <summary>
        /// 当前语言Cookie名
        /// </summary>
        public const string CURRENT_LANG_COOKIE_NAME = "CurrentLang";

        /// <summary>
        /// 微信公众平台绑定语言模块
        /// </summary>
        public const string WEIXIN_LANG_NAME = "mobile";

    }
}
